﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/GPSTrackingAdminWebsiteManager.Master" AutoEventWireup="true" CodeBehind="ListenerLog.aspx.cs" Inherits="GPSTrackingClientsWebsiteManager.Admin.ListenerLog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
        <legend>Listener Log</legend>
        <telerik:RadGrid ID="ListenerLogGrid" runat="server" PageSize="15"
            ShowFooter="True" AllowPaging="True" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" ShowGroupPanel="True" AllowFilteringByColumn="True" AllowSorting="True" OnNeedDataSource="ListenerLogGrid_NeedDataSource" EnableLinqExpressions="False" Skin="Metro">
            <ClientSettings AllowDragToGroup="True">
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
            <MasterTableView>
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridDateTimeColumn DataField="Datetime" FilterControlAltText="Filter DateTime column" HeaderText="Fecha" UniqueName="DateTime" DataType="System.DateTime" FilterControlWidth="100px" AutoPostBackOnFilter="true">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="Category" FilterControlAltText="Filter Category column" HeaderText="Categoría" UniqueName="Category" AutoPostBackOnFilter="true">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Message" FilterControlAltText="Filter Message column" HeaderText="Mensaje" UniqueName="Message" AutoPostBackOnFilter="true">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Method" FilterControlAltText="Filter Method column" HeaderText="Metodo" UniqueName="Method" AutoPostBackOnFilter="true">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="GpsModel" FilterControlAltText="Filter Method column" HeaderText="Modelo GPS" UniqueName="GpsModel" AutoPostBackOnFilter="true">
                    </telerik:GridBoundColumn>
                </Columns>
                <SortExpressions>
                    <telerik:GridSortExpression FieldName="Datetime" SortOrder="Descending" />
                </SortExpressions>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
        </telerik:RadGrid>
    </fieldset>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ListenerLogGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ListenerLogGrid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
</asp:Content>
